.active-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: opacity 0.3s ease, backdrop-filter 0.3s ease;

  &.show {
    opacity: 1;
  }

  &.hide {
    opacity: 0;
  }
}

.active-modal {
  position: relative;
  background: transparent;
  max-width: 320px;
  width: 95%;
  height: 55vh;
  padding-top: 40px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
  &.show {
    transform: scale(1);
    opacity: 1;
  }

  &.hide {
    transform: scale(0.8);
    opacity: 0;
  }

  .active-top {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

    .top-img {
      width: 100%;
      height: 32px;
      max-width: 280px;
    }
  }

  .sub-title {
    height: 50px;
    width: 300px;
    position: relative;
    background-image: url(@/assets/active/footer.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    .footer-img {
      position: relative;
      top: 8px;
      left: 24px;
      width: 260px;
      height: 40px;
      margin-bottom: 16px;
    }
  }

  .active-modal-title {
    font-size: 14px;
    color: #fff;
    padding-top: 8px;
  }

  .active-main {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    position: relative;
    top: -40px;
    .main-img {
      width: 100%;
      max-width: 280px;
    }
  }

  .active-bottom {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    top: -100px;
    .btn-img {
      width: 180px;
      height: auto;
      border-radius: 25px;
    }
  }
}
